weight=input("请输入体重(kg):")
height,age=map(int,input("请输入身高(cm) 年龄:").split(' '))
movement=input("请输入你的运动系数:")
heat=(655+9.6*float(weight)+1.8*height-4.7*age)*float(movement)
print("每天需要消耗的大卡:",heat)
fruit=input("减肥期间食用的水果")
if(fruit=='0'):
    a=heat/83
    print("要想减肥，每天只能吃%d个苹果"% a)
elif(fruit=='1'):
    b=heat/100
    print("要想减肥，每天只能吃%d个芒果" % b)
else:
    c=heat/50
    print("要想减肥，每天只能吃%d个橙子" % c)